package com.jdzy.model.student.pojos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jdzy.model.common.pojos.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

@Data
@ApiModel(description = "预约表")
@TableName("appointments")
public class Appointments extends BaseEntity {
    @ApiModelProperty(value = "学生学号stuId")
    @TableField(value = "stu_id")
    private String stuId;

    @ApiModelProperty(value = "预约老师账号")
    @TableField(value = "teacher_username")
    private String teacherUsername;

    @ApiModelProperty(value = "预约内容")
    @TableField(value = "appointment_content")
    private String appointmentContent;

    @ApiModelProperty(value = "预约状态")
    @TableField(value = "status")
    private Byte status;


    @ApiModelProperty(value = "预约时间")
    @TableField(value = "appointment_time")
    private LocalDate appointmentTime;

}
